home *** CD-ROM | disk | FTP | other *** search
/ SuperHack / SuperHack CD.bin / SCRIPTZ / E-MAIL.ZIP / E-MAIL.TXT
Text File  |  1991-03-17  |  2KB  |  53 lines

  1. mIRC SMTP Addon v1.1 By E-HACK 
  2. This will be part of ESS v1.0 Witch should be out in April 97
  3. Look for mIRC POP3 Addon when ESS is released
  4. ⌐ 1997 epicurus@deathsdoor.com
  5.  
  6. Put the following code in the indicated sections of mIRC
  7.  
  8.  
  9. Remote, Events
  10.  
  11. ;E-HACK's mIRC E-Mail System (for ESS v1.0)-----------------------------------------------------------
  12. ;Copyright 1997 epicurus@deathsdoor.com
  13. ;Permission to use granted if you leave copyright info in the source
  14. mail:ON CHATOPEN:{ 
  15.   /msg =$nick HELO ess.ess.com
  16.   /msg =$nick MAIL FROM: < $+ %myaddy $+ >
  17.   /msg =$nick RCPT TO: < $+ %sendaddy $+ >
  18.   /msg =$nick DATA
  19.   /msg =$nick X-Mailer: mIRC SMTP v1.1 By  E-HACK
  20.   /msg =$nick To: %sendaddy
  21.   /msg =$nick From: " $+ %mynick $+ "  < $+ %myaddy $+ >
  22.   /msg =$nick Subject: %subject
  23.   /timer 1 4 /echo -a  4Now type your e-mail 
  24.   /timer 1 5 /echo -a 4When you're finished, enter a "." on a line by itself
  25. }
  26. mail:ON CHATCLOSE:/ruser mail $me
  27.  
  28. Aliases
  29.  
  30. /sendmail {
  31.   if ( %myaddy == $null) { set %myaddy $$?="What's Your E-Mail Address?"  }
  32.   if ( %mynick == $null) { set %mynick $$?="Whats Your Name (Nick)?" }
  33.   set %sendaddy $$?="Send to who?"
  34.   set %subject $$?="Subject?"  
  35.   auser mail $me
  36. ;If you have trouble with this server below, change it
  37. ;you need to use the long ip of a server
  38.   rawcon 3448160265 25
  39.   timer 1 30 /unset %sendaddy
  40.   timer 1 30 /unset %subject
  41. }
  42.  
  43. /rawcon { raw -q privmsg $me :DCC CHAT CHAT $$1 $$2 $+  }
  44.  
  45. PopUps (anywhere...channel or stats is best)
  46.  
  47. Send E-Mail:/sendmail
  48.  
  49. -------------------------------------------------------------------------
  50. Feel Free To Use This In Your Scripts As Long As You Give Me Credit
  51.  
  52. ⌐ 1997 E-HACK
  53.